/* GUI CONVERTED from rcvrfc03.p (converter v1.75) Tue Apr 10 12:06:09 2001 */
/* rcvrfc03.p - CONFIGURABLE VERIFICATION - CONTAINERS                        */
/* Copyright 1986-2002 QAD Inc., Carpinteria, CA, USA.                        */
/* All rights reserved worldwide.  This is an unpublished work.               */
/* $Revision: 1.3.1.6 $                                                        */
/*V8:ConvertMode=Maintenance                                                  */
/* REVISION: 8.6      LAST MODIFIED: 09/20/96    BY: TSI *K005*               */
/* REVISION: 8.6      LAST MODIFIED: 05/20/98    BY: *K1Q4* Alfred Tan        */
/* REVISION: 9.0      LAST MODIFIED: 03/29/99    BY: *J3BM* Reetu Kapoor      */
/* REVISION: 9.0      LAST MODIFIED: 11/03/99    BY: *J3L5* Santosh Rao       */
/* REVISION: 9.1      LAST MODIFIED: 08/12/00    BY: *N0KP* Mark Brown        */
/* $Revision: 1.3.1.6 $    BY: Jean Miller           DATE: 03/22/01  ECO: *P008*  */
/******************************************************************************/
/* All patch markers and commented out code have been removed from the source */
/* code below. For all future modifications to this file, any code which is   */
/* no longer required should be deleted and no in-line patch markers should   */
/* be added.  The ECO marker should only be included in the Revision History. */
/******************************************************************************/

/***********************************************************/
/* VERIFY THAT CONTAINERIZATION IS NO MORE THAN TWO        */
/* LEVELS DEEP.                                            */
/***********************************************************/

{mfdeclre.i}

/*OUTPUT PARAMETER*/
define output parameter errors as logical no-undo.

/*INPUT VARIABLES*/
{rcwabsdf.i}

for each work_abs_mstr
   where work_abs_mstr.abs_id begins "C"
     and work_abs_mstr.abs_par_id begins "C"
no-lock:

   /* FIND SHIPPER MASTER RECORD USING SHIP-FROM ID, PARENT ID */
   /* AND ID TO IMPROVE PERFORMANCE                            */
   if can-find(first abs_mstr
               where abs_mstr.abs_shipfrom = work_abs_mstr.abs_shipfrom and
                     abs_mstr.abs_par_id   = work_abs_mstr.abs_par_id   and
                     abs_mstr.abs_id  begins "C")
   then do:
      errors = true.
      return.
   end.

end. /* for each work_abs_mstr */
